package com.ncloud.chnl.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import com.ncloud.chnl.entity.ChnlDepositLog;

@Mapper
public interface ChnlDepositLogMapper {

	@Insert("insert into sys_l_chnl_deposit(log_id , chnl_id , recv_type , recv_value , old_avialable_value , new_avialable_value ,"
			+ " old_deposit , new_deposit , old_credit_value , new_credit_value , order_id , recv_time , recv_user , remark)"
			+ " values(#{logId} , #{chnlId} , #{recvType} , #{recvValue} , #{oldAvialableValue} , #{newAvialableValue} ,"
			+ " #{oldDeposit} , #{newDeposit} , #{oldCreditValue} , #{newCreditValue} , #{orderId} , #{recvTime} , #{recvUser} , #{remark})")
	int insertChnlDepositLog(ChnlDepositLog depositLog);

}
